package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供求信息管理对象 supply_demand_info
 * 
 * @author ruoyi
 * @date 2025-06-26
 */
public class SupplyDemandInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 信息ID */
    private Integer id;

    /** 操作 */
    @Excel(name = "操作")
    private String operation;

    /** 供求类型 */
    @Excel(name = "供求类型")
    private String infoType;

    /** 信息内容 */
    @Excel(name = "信息内容")
    private String content;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 行业标签 */
    @Excel(name = "行业标签")
    private String industryTag;

    /** 企业全称 */
    @Excel(name = "企业全称")
    private String companyName;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String userNickname;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String mobileNumber;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publishTime;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private Integer viewCount;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setOperation(String operation) 
    {
        this.operation = operation;
    }

    public String getOperation() 
    {
        return operation;
    }

    public void setInfoType(String infoType) 
    {
        this.infoType = infoType;
    }

    public String getInfoType() 
    {
        return infoType;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }

    public void setIndustryTag(String industryTag) 
    {
        this.industryTag = industryTag;
    }

    public String getIndustryTag() 
    {
        return industryTag;
    }

    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }

    public void setUserNickname(String userNickname) 
    {
        this.userNickname = userNickname;
    }

    public String getUserNickname() 
    {
        return userNickname;
    }

    public void setMobileNumber(String mobileNumber) 
    {
        this.mobileNumber = mobileNumber;
    }

    public String getMobileNumber() 
    {
        return mobileNumber;
    }

    public void setPublishTime(Date publishTime) 
    {
        this.publishTime = publishTime;
    }

    public Date getPublishTime() 
    {
        return publishTime;
    }

    public void setViewCount(Integer viewCount) 
    {
        this.viewCount = viewCount;
    }

    public Integer getViewCount() 
    {
        return viewCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("operation", getOperation())
            .append("infoType", getInfoType())
            .append("content", getContent())
            .append("contactPhone", getContactPhone())
            .append("industryTag", getIndustryTag())
            .append("companyName", getCompanyName())
            .append("userNickname", getUserNickname())
            .append("mobileNumber", getMobileNumber())
            .append("publishTime", getPublishTime())
            .append("viewCount", getViewCount())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
